libxl: disks: Make LIBXL_DISK_BACKEND_UNKNOWN work
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 28 Jun 2011 11:19:10 +0000 (12:19 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 28 Jun 2011 11:19:10 +0000 (12:19 +0100)
commiteaed6ac8500f4a501ed02cebb4f99b3c8cf94adb
treec59a7c781957f018d2195ab4c04bb915e59ac05c
parent198b561a41377e0825b1b30875224dbebd32ec07
libxl: disks: Make LIBXL_DISK_BACKEND_UNKNOWN work

libxl callers should not be required to specify the backend if they
don't want to.  So LIBXL_DISK_BACKEND_UNKNOWN should instruct libxl to
choose the backend for itself.

For now, we do this by simply treating it the same as BACKEND_TAP,
which itself falls back to other methods.

More thorough fixes for the disk handling will follow.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl.c